﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PlexArchivesView.aspx.cs"
    Inherits="TrafficArchives.Archives.PlexArchivesView" %>

<%--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
--%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/Page.css" rel="stylesheet" type="text/css" />
    <link href="../css/GamerGridView.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="2" bgcolor="#acd1eb"
        style="font-size: 12px;">
        <tr>
            <td valign="top" bgcolor="#FFFFFF">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr style="background: url(../images/bt_bg.gif)">
                                    <td width="12">
                                        <img src="../images/bt_left.gif" width="12" height="28">
                                    </td>
                                    <td width="42" align="center">
                                        <img src="../images/bt_title.gif">
                                    </td>
                                    <td style="font-size: 12px;">
                                        <span class="style3">您当前的位置：</span>综合查询
                                    </td>
                                    <td width="51" id="sy">
                                        <a href="content.html">首页</a>
                                    </td>
                                    <td width="12">
                                        <img src="../images/bt_right.gif" width="12" height="28">
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td align="center">
                            <!--查询begin-->
                            <table width="95%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC">
                                <tr bgcolor="#FFFFFF">
                                    <td width="15%" height="25" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">查询日期起：</span>
                                    </td>
                                    <td width="15%">
                                        <asp:TextBox ID="TxtQueryStartDate" runat="server" Width="90"></asp:TextBox>
                                    </td>
                                    <td width="8%" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">止：</span>
                                    </td>
                                    <td width="15%" align="left">
                                        <asp:TextBox ID="TxtQueryEndDate" runat="server" Width="90"></asp:TextBox>
                                    </td>
                                    <td width="12%" height="25" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">违法行为：</span>
                                    </td>
                                    <td width="15%">
                                        <asp:DropDownList ID="DllIllegalBehavior" runat="server">
                                            <asp:ListItem Text="<全部>" Value=""></asp:ListItem>
                                            <asp:ListItem Text="闯红灯" Value="闯红灯"></asp:ListItem>
                                            <asp:ListItem Text="超员" Value="超员"></asp:ListItem>
                                            <asp:ListItem Text="酒驾" Value="酒驾"></asp:ListItem>
                                            <asp:ListItem Text="超速" Value="超速"></asp:ListItem>
                                            <asp:ListItem Text="其它" Value="其它"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td width="10%" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">违法次数：</span>
                                    </td>
                                    <td width="10%" align="left">
                                        <asp:TextBox ID="TxtIllegalTimes" Width="90" CssClass="Wdate" runat="server"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF">
                                    <td width="10%" height="25" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">初次领证日期起：</span>
                                    </td>
                                    <td width="12%">
                                        <asp:TextBox ID="TxtFirstStartDate" runat="server" Width="90"></asp:TextBox>
                                    </td>
                                    <td width="8%" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">止：</span>
                                    </td>
                                    <td width="7%" align="left">
                                        <asp:TextBox ID="TxtFirstEndDate" runat="server" Width="90"></asp:TextBox>
                                    </td>
                                    <td width="10%" height="25" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">事故次数：</span>
                                    </td>
                                    <td width="18%">
                                        <asp:TextBox ID="TxtAccdentTimes" Width="90" CssClass="Wdate" runat="server"></asp:TextBox>
                                    </td>
                                    <td width="12%" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">是否满分：</span>
                                    </td>
                                    <td width="23%" align="left">
                                        <asp:DropDownList ID="DdlIsFullScore" runat="server">
                                            <asp:ListItem Text="<请选择>" Value=""></asp:ListItem>
                                            <asp:ListItem Text="是" Value="是"></asp:ListItem>
                                            <asp:ListItem Text="否" Value="否"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF">
                                    <td width="10%" height="25" align="right" bgcolor="#E4F1FD" class="style4">
                                        是否未按时办理业务：
                                    </td>
                                    <td width="12%">
                                        <asp:DropDownList ID="DdlIsOverTimeBiz" runat="server">
                                            <asp:ListItem Text="<请选择>" Value=""></asp:ListItem>
                                            <asp:ListItem Text="是" Value="是"></asp:ListItem>
                                            <asp:ListItem Text="否" Value="否"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td width="8%" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">准驾车型：</span>
                                    </td>
                                    <td align="left" colspan="3">
                                        <label class="style4">
                                            <asp:CheckBoxList ID="DdlAllowCarType" CssClass="style4" RepeatDirection="Horizontal" runat="server">
                                                <asp:ListItem Text="A1" Value="A1"></asp:ListItem>
                                                <asp:ListItem Text="A2" Value="A2"></asp:ListItem>
                                                <asp:ListItem Text="A3" Value="A3"></asp:ListItem>
                                                <asp:ListItem Text="B1" Value="B1"></asp:ListItem>
                                                <asp:ListItem Text="B2" Value="B2"></asp:ListItem>
                                                <asp:ListItem Text="C1" Value="C1"></asp:ListItem>
                                                <asp:ListItem Text="C2" Value="C2"></asp:ListItem>
                                                <asp:ListItem Text="C5" Value="C5"></asp:ListItem>
                                                <asp:ListItem Text="D" Value="D"></asp:ListItem>
                                                <asp:ListItem Text="E" Value="E"></asp:ListItem>
                                                <asp:ListItem Text="F" Value="F"></asp:ListItem>
                                            </asp:CheckBoxList>
                                        </label>
                                    </td>
                                    <td height="25" align="center" bgcolor="#ffffff" colspan="2">
                                        <table border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td style="width: 80px;">
                                                    <asp:Button ID="BtnQuery" OnClick="BtnQueryClicked" Text="查询" runat="server" CssClass="button" />
                                                </td>
                                                <td valign="middle" style="width: 80px;">
                                                    <input type="button" id="btn" class="button" value="导出">
                                                </td>
                                                <td style="width: 80px;">
                                                    <input type="button" id="btn" class="button" value="打印">
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                            <table width="95%" border="0" cellspacing="0" cellpadding="0">
                                <tr bgcolor="#FFFFFF">
                                    <td height="10" align="right">
                                    </td>
                            </table>
                            <!--查询over-->
                        </td>
                    </tr>
                    <tr>
                        <td align="center" valign="top">
                            <!--详细信息begin-->
                            <table ID="TableHeader" runat="server" width="95%" border="0" cellpadding="0" cellspacing="1" bgcolor="#66a9ec" style="font-size: 12px;">
                                <tr>
                                    <td height="24" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                        姓名
                                    </td>
                                    <td width="16%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                        档案编号
                                    </td>
                                    <td width="15%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                        驾驶证号
                                    </td>
                                    <td width="11%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                        准驾车型
                                    </td>
                                    <td width="15%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                        初次领证日期
                                    </td>
                                    <td width="10%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                        累积记分
                                    </td>
                                    <td width="12%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                        驾驶证状态
                                    </td>
                                    <td width="7%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                        详情
                                    </td>
                                </tr>
                            </table>
                            <asp:GridView ID="GridViewMain" runat="server" Width="95%" AllowSorting="True" AutoGenerateColumns="False"
                                            CssClass="GridViewStyle" DataKeyNames="sfzmhm" GridLines="None">
                                            <Columns>
                                                <asp:BoundField HeaderText="姓名" DataField="xm"></asp:BoundField>
                                                <asp:BoundField HeaderText="档案编号" DataField="dabh" />
                                                <asp:BoundField HeaderText="驾驶证号" DataField="" />
                                                <asp:BoundField HeaderText="准驾车型" DataField="zjcx" />
                                                <asp:BoundField HeaderText="初次领证日期" DataField="cclzrq" />
                                                <asp:BoundField HeaderText="累积记分" DataField="ljjf" />
                                                <asp:BoundField HeaderText="驾驶证状态" DataField="zt" />
                                                <asp:TemplateField HeaderText="详情">
                                                    <ItemTemplate>
                                                        <asp:HyperLink NavigateUrl="SimpleArchivesView.aspx?sfzmhm=<%#Eval('sfzmhm') %>" runat="server"></asp:HyperLink>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <FooterStyle CssClass="FooterStyle" />
                                            <RowStyle CssClass="RowStyle" />
                                            <EmptyDataRowStyle CssClass="EmptyRowStyle" />
                                            <SelectedRowStyle CssClass="SelectedRowStyle" />
                                            <HeaderStyle CssClass="HeaderStyle" />
                                            <EditRowStyle CssClass="EditRowStyle" />
                                            <AlternatingRowStyle CssClass="AltRowStyle" />
                                        </asp:GridView>
                            <!--详细信息over-->
                            <!--信誉档案begin-->
                            <!--信誉档案over-->
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
    </form>
</body>
</html>
